package top.eggcode.component.session;


import java.io.Serializable;
import java.util.Collection;
import java.util.Date;

/**
 * Title:
 * Description: TODO
 * Date: 2021/6/13 19:25
 *
 * @author JiaQi Ding
 * @version 1.0
 */
public interface Session {

    Serializable getId();

    Date getStartTimestamp();

    Date getLastAccessTime();

    long getTimeout();

    void setTimeout(long var1);

    String getHost();

    void touch();

    void stop();

    Collection<Object> getAttributeKeys();

    Object getAttribute(Object var1);

    void setAttribute(Object var1, Object var2);

    Object removeAttribute(Object var1);
}
